Skip to content

Conversation

@hugovk
Copy link
Contributor

@hugovk hugovk commented Nov 22, 2025

#582 upgraded Furo, along with it's new accessible-pygments dependency (pradyunsg/furo@be0072d).

Unfortunately, accessible-pygments doesn't support the diff code block and is missing some CSS (Quansight-Labs/accessible-pygments#31), so diffs look like:

image image

https://django-upgrade.readthedocs.io/en/latest/fixers.html#django-4-2

Instead, set our own colours:

image image

I've confirmed these all exceed the WCAG AA min ratio.

@adamchainz adamchainz merged commit a619dfa into adamchainz:main Nov 22, 2025
9 checks passed
@adamchainz
Copy link
Owner

Cheers mate! Thank you for being so thorough!

@hugovk
Copy link
Contributor Author

hugovk commented Nov 23, 2025

And thank you for django-upgrade!

I ran it on python.org: python/pythondotorg#2820

@pauloxnet
Copy link

#582 upgraded Furo, along with it's new accessible-pygments dependency (pradyunsg/furo@be0072d).

Thanks, I just learned about accessible pygments 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants